-
Home
-
Seamless Donations is Sunset
-
5.1.5
-
Code
-
Classes
- CurlClient
| Total Complexity |
74 |
| Dependencies |
8 |
| Dependents |
1 |
| Total lines |
520 |
| Lines of code |
262 |
| Logical lines of code |
155 |
| Comment lines |
142 |
| Methods |
26 |
| Properties |
10 |
Methods 26
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| request() |
B |
40 |
17 |
57 |
| executeRequestWithRetries() |
A |
43 |
9 |
49 |
| shouldRetry() |
A |
53 |
9 |
26 |
| handleCurlError() |
S |
50 |
7 |
28 |
| sleepTime() |
S |
58 |
4 |
13 |
| resetCurlHandle() |
S |
69 |
3 |
7 |
| hasHeader() |
S |
65 |
3 |
8 |
| instance() |
S |
71 |
2 |
6 |
| __construct() |
S |
70 |
2 |
6 |
| closeCurlHandle() |
S |
71 |
2 |
6 |
| __destruct() |
S |
82 |
1 |
3 |
| initUserAgentInfo() |
S |
68 |
1 |
7 |
| getDefaultOptions() |
S |
82 |
1 |
3 |
| getUserAgentInfo() |
S |
82 |
1 |
3 |
| getEnablePersistentConnections() |
S |
82 |
1 |
3 |
| setEnablePersistentConnections() |
S |
81 |
1 |
3 |
| getEnableHttp2() |
S |
82 |
1 |
3 |
| setEnableHttp2() |
S |
81 |
1 |
3 |
| getRequestStatusCallback() |
S |
82 |
1 |
3 |
| setRequestStatusCallback() |
S |
81 |
1 |
3 |
| setTimeout() |
S |
75 |
1 |
4 |
| setConnectTimeout() |
S |
75 |
1 |
4 |
| getTimeout() |
S |
82 |
1 |
3 |
| getConnectTimeout() |
S |
82 |
1 |
3 |
| initCurlHandle() |
S |
76 |
1 |
4 |
| canSafelyUseHttp2() |
S |
74 |
1 |
4 |